<%@ page language="java" import="java.util.*,cn.jbit.mybatisdemo.entity.*" pageEncoding="UTF-8"%>
<%@ include file="common/common.jsp"%>
<%
	String  empNo= request.getParameter("empNo");
  	boolean bDel = empService.deleteEmp(new Integer(empNo));
%>
<script language="javascript">
	if(<%=bDel%>){
	  alert("删除员工成功！");
	}else{
	  alert("删除员工失败！");
	}
	location.href="empList.jsp";
</script>